package com.example.common.enums;

/**
 * @author  guochao
 * @date  2022/1/6 20:57
 * @version 1.0
 */
public enum StatusEnum {

    N(0, "正常"),
    Y(1, "删除");

    private Integer code;

    private String desc;

    StatusEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }
}
